#!/bin/bash
# useing the continue command

for (( var = 1; var < 5; var++)); do
    echo "Interation $var"
    for (( var2=1; var2 < 3; var2++ )); do
    if [ $var -gt 2 ] && [ $var -lt 4 ]; then
        continue 2
    fi
    var3=$[ $var * $var2 ]
    echo "  The result of $var * $var2 is $var3"
    done
done
